package com.luych.toolbox.automation.service.entity;

import com.luych.toolbox.common.enums.AutoTaskTemplateArgType;
import com.luych.toolbox.common.service.base.BaseEntity;

import javax.persistence.*;

@Entity
@Table(name = "auto_task_template_arg")
public class AutoTaskTemplateArg extends BaseEntity {

    @Column(name = "auto_task_template_id")
    private String autoTaskTemplateId;
    @Column(name = "name")
    private String name;
    @Column(name = "type")
    @Enumerated(EnumType.STRING)
    private AutoTaskTemplateArgType type;
    @Column(name = "description")
    private String description;

    public String getAutoTaskTemplateId() {
        return autoTaskTemplateId;
    }

    public void setAutoTaskTemplateId(String autoTaskTemplateId) {
        this.autoTaskTemplateId = autoTaskTemplateId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public AutoTaskTemplateArgType getType() {
        return type;
    }

    public void setType(AutoTaskTemplateArgType type) {
        this.type = type;
    }
}